package com.lanswon.common.util;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TreeNode implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1592954051004951859L;

	/**
     * 节点唯一标识
     */
    private String id;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 所属父节点ID
     */
    private String parentId;

    /**
     * 所属父节点对象
     */
    //private Tree parentObj;

    /**
     * 所含子节点
     */
    private List<TreeNode> childrenList = new ArrayList<TreeNode>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public List<TreeNode> getChildrenList() {
		return childrenList;
	}

	public void setChildrenList(List<TreeNode> childrenList) {
		this.childrenList = childrenList;
	}
	
    
}
